package com.qf.ssm.service;

import com.github.pagehelper.PageInfo;
import com.qf.ssm.pojo.Areas;
import com.qf.ssm.pojo.Categories;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AreasService {

    void addAreas(Areas areas);

    List<Areas> findParentAreaByStatus(Long status);

    PageInfo<Areas>findAllAreasByNameLikeAndStatusEquals(int page,int limit,String areaname,Long status);

    int deleteAreasByIds(Long [] ids);

    int updateAreas(Areas areas);

    Areas getAreasById(Long id);

    List<Areas>getAreaByParentId(Long id);

    List<Areas>findParentAreaByStatusLong (Long status);

}
